The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.getSystemFontList()

 

dreamweaver.getSystemFontList()

Availability

Dreamweaver 4.0

Description

Returns a list of fonts for the system. This function can get either all fonts or TrueType only. These fonts are needed for the Flash Text object.

Arguments

fontTypes

fontTypes is a string containing either "all" or "TrueType".

Returns

An array of strings containing all the font names; returns null if no fonts were found.